package com.whminwei.edu.api.dc.dto.fspn.other;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangjq
 * @since 2024-10-22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcPracticeFspn {

    private List<DcPractice> practices;

    private List<String> deleted;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcPractice {
        private String practiceId;
        /**
         * 实践岗位
         */
        private String practiceWork;
        /**
         * 接收单位id
         */
        private String companyId;
        /**
         * 开始日期
         */
        private long startTime;
        /**
         * 结束日期
         */
        private long endTime;
        /**
         * 实践天数
         */
        private int day;
        /**
         * 组织单位级别
         */
        private String orgLevel;
        /**
         * 参与人员
         */
        private List<String> participantList;
    }
}
